<template>
  <el-card :shadow="shadow" :body-class="bodyClass">
    <template v-if="header" #header><slot name="header" /> </template>
    <template v-if="footer" #footer><slot name="footer" /> </template>
    <slot />
  </el-card>
</template>
<script setup lang="ts">
withDefaults(
  defineProps<{
    shadow?: string;
    bodyClass?: string;
    header?: boolean;
    footer?: boolean;
  }>(),
  {
    shadow: "never",
    header: false,
    footer: false,
    bodyClass:"aigc-card"
  }
);
</script>
<style  lang="scss" >
.aigc-card{
 padding: 10px;
}
</style>